//
//  NSObject+Dealloc.h
//  JQKit
//
//  Created by JQZ on 2017/11/22.
//  Copyright © 2017年 JQZ. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^DeallocBlock)(void);

@interface NSObject (Dealloc)

- (void)addDeallocTask:(DeallocBlock)deallocTask forTarget:(id)target key:(NSString *)key;

- (void)removeDeallocTaskForTarget:(id)target key:(NSString *)key;

@end
